<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p><i><b>合并单元格12和11，水平合并colspan</b></i></p>
    <p><i><b>合并单元格13和7，水平合并rowspan</b></i></p>
    <p><i><b>水平合并保留左，垂直合并保留上</b></i></p>


    <table border="13" width="700px" height="700px">
        <tr>
            <td rowspan="4">单元格1,7,13,19</td>
            <td>单元格2</td>
            <td>单元格3</td>
            <td>单元格4</td>
            <td>单元格5</td>
            <td>单元格6</td>
        </tr>
        <tr>
            
            <td>单元格8</td>
            <td>单元格9</td>
            <td>单元格10</td>
            <td colspan="2">单元格11和12</td>
            
        </tr>
        <tr>
            
            <td>单元格14</td>
            <td>单元格15</td>
            <td>单元格16</td>
            <td>单元格17</td>
            <td>单元格18</td>
        </tr>
        <tr>
            <td>单元格20</td>
            <td>单元格21</td>
            <td>单元格22</td>
            <td>单元格23</td>
            <td>单元格24</td>
        </tr>
      
    </table>
</body>
</html>